package com.zzl.study.sharding.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @author: zhangzl
 * @date: 2022/7/10 13:19
 * @version: 1.0
 * @description: 物流对象
 */
@TableName("t_logistics")
@Data
public class Logistics {

    /**
     * 主键ID
     */
    @TableId("id")
    private Long id;

    /**
     * 订单ID
     */
    @TableField("order_id")
    private Long orderId;

    /**
     * 城市
     */
    @TableField("city")
    private String city;

    /**
     * 到达时间
     */
    @TableField("arrival_time")
    private Date arrivalTime;

}
